<%-- Test purpose only, connect to database. --%>

<%-- Tag library. --%>
<%@ page import="java.sql.Connection"%>
<%@ page import="java.sql.DriverManager"%>
<%@ page import="java.sql.SQLException"%>
<%@ page import="java.sql.Statement"%>
<%@ page import="java.sql.PreparedStatement"%>
<%@ page import="java.sql.ResultSet"%>

<%-- Global variables declaration. --%>
<%!public final String CONNECTION_URL = "jdbc:mysql://localhost:3306/prepooltest?user=root&;password=";%>
<%!public Connection conn = null;%>
<%!public final String DRIVER = "com.mysql.jdbc.Driver";%>

<%
	Class.forName(DRIVER).newInstance();

	// Get connection with connection string.
	conn = DriverManager.getConnection(CONNECTION_URL);

	conn.close();
%>